<nav class="top_nav">
    <div ng-click="" class="top_left_menu">
        <a >
            <i class="glyphicon glyphicon-menu-hamburger"></i>
        </a>
    </div>
    <div  ng-init="switch1=true" class="top_right_menu">
        <div class="ico_envelope">
            <a ng-click="switch1=!switch1" href="">
                <i class="glyphicon glyphicon-envelope"></i>
            </a>
        </div>
        <div ng-hide="switch1" class="e_div">
            <ul class="e_Ul" >
                <li  ng-repeat="menus in user.menus">
                    <a href="">
                        <i class="ico_user {{menus.ico}}">
                            <span>{{menus.user}}</span>
                        </i>
                    </a><br/>
                    <a class="user_text" ng-repeat="txts in menus.items" href="">
                        <span>{{txts.texts}}</span>
                    </a>
                </li>
            </ul>
        </div>
        <div ng-init="switch2=true" class="user_nav">
            <div ng-repeat="user in user.users" class="user_head">
                <a ng-click="switch2=!switch2" href="">
                    <i class="{{user.ico}}">
                        <span>{{user.username}}</span>
                    </i>
                </a>
                <div  class="user_name">
                    <ul>
                        <li ng-hide="switch2" ng-repeat="userlist in user.items">
                            <a href="">{{userlist.user_list}}</a>
                        </li>
                    </ul>
                </div>
            </div>

        </div>
    </div>
</nav>


<!--<div class="top_nav">-->
    <!--<div class="nav_menu">-->
        <!--<nav class="nav_navigation">-->
            <!--<div  class="toggle">-->
                <!--<a href="">-->
                    <!--<i class="glyphicon glyphicon-menu-hamburger"></i>-->
                <!--</a>-->
            <!--</div>-->
            <!--<ul ng-init="x=true" class="nav_name nav navbar-nav navbar-right">-->
                <!--<a ng-click="x=!x" class="glyphicon glyphicon-user" href=""><span>王小明v</span></a>-->
                <!--<ul class="nav_user" ng-hide="x">-->
                    <!--<li><a href="">用户信息</a></li>-->
                    <!--<li><a href="">设定</a></li>-->
                    <!--<li><a href="">帮助</a></li>-->
                    <!--<li><a href="">登出系统</a></li>-->
                <!--</ul>-->
                <!--<li  class="ico_envelope" >-->
                    <!--<a class="ico_a" ng-init="s=true" href="">-->
                        <!--<i ng-click="s=!s" class="glyphicon glyphicon-envelope"></i>-->
                    <!--</a>-->
                    <!--<ul ng-hide="s" class="nav_envelope">-->
                        <!--<li><a href="">213</a></li>-->
                        <!--<li><a href="">213</a></li>-->
                        <!--<li><a href="">213</a></li>-->
                        <!--<li><a href="">213</a></li>-->
                    <!--</ul>-->
                <!--</li>-->
            <!--</ul>-->
        <!--</nav>-->
    <!--</div>-->
<!--</div>-->